import axios from "axios";

const url = 'https://top.baidu.com/board?tab=car'

const res = await axios({
    url,
    method: 'get',
    headers: {
        'Accept': 'text/html',
        'Accept-Language': 'zh-CN',
        'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36',
    }
})

console.log(res.data)

/**
 * 获取所有的类型，例如 热搜realtime、小说novel、电源movie、电视剧teleplay、汽车car、游戏game
 */
function getAllTypes() {

}
